<h3>Chi tiết hóa đơn</h3>
<table width="100%" class="table-style" cellpadding="5px" cellspacing="0">
	<tbody>
	<tr class="table-title">
		<td>Deal</td>
		<td>Giá</td>
		<td>Số lượng</td>
		<td>Thanh toán</td>
	</tr>
	<?php foreach($this->items as $item): ?>
	<tr>
		<td width="280px"><a href="<?php echo $this->baseurl . "/cms/index/deal/id/$item->deal_id" ?>"><?php echo $item->title ?></a></td>
		<td width="80px"><?php echo number_format($item->price, 0, ".", ",") . 'đ' ?></td>
		<td width="80px"><?php echo $item->quantity ?></td>
		<td width="80px"><?php echo number_format($item->quantity * $item->price, 0, ".", ",") . 'đ' ?></td>
	</tr>
	<?php endforeach ?>
	<tr>
		<td colspan="3"><h4>Tổng cộng:</h4></td>
		<td><h4><?php echo $this->subtotal ?> đ</h4></td>
	</tr>
	</tbody>
</table>
<br />
<h3>Địa chỉ nhận hàng:</h3>

<table width="100%" class="table-style" cellpadding="5px" cellspacing="0">
	<tr class="odd" style="text-align:left;">
		<td width="200px">Họ tên:</td>
		<td><?php echo $this->shipping->name ?></td>
	</tr>
	<tr>
		<td>Email:</td>
		<td><?php echo $this->shipping->email ?></td>
	</tr>
	<tr class="odd" style="text-align:left;">
		<td>Số điện thoại:</td>
		<td><?php echo $this->shipping->phone ?></td>
	</tr>
	<tr>
		<td>Địa chỉ:</td>
		<td><?php echo $this->shipping->shipping_address ?></td>
	</tr>
</table>
<br />
<h3>Thông tin thanh toán</h3>

<table width="100%" class="table-style" cellpadding="5px" cellspacing="0">
	<tr class="odd" style="text-align:left;">
		<td width="200px">Cách thức thanh toán:</td>
		<td><?php echo $this->payment ?>
			</select>
		</td>
	</tr>
</table>